home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Util / M-Mc / Mac101 Kbd ƒ / Mac101 doc < prev    next >
Encoding:
Text File  |  1991-10-26  |  3.2 KB  |  65 lines  |  [TEXT/ttxt]

  1. Mac101 Keyboard Package                                    October, 1991
  2. -----------------------
  3.  
  4.     About a year ago I bought a Mac101™ Keyboard from DataDesk
  5. International to replace my original 128K Mac keyboard.  I didn't much
  6. like their MasterStrokes™ software, but without it the extra keys
  7. would not be recognized properly by the system on my now Mac Plus
  8. (the key codes the keyboard was sending were wrong).  To fix this I put
  9. together this package. It contains:
  10.  
  11. • KbdFix : A system extension (INIT) that should be put in the System
  12.       folder in system 6.0.x or the Extensions folder in system 7.  It
  13.       contains a KMAP resource and a patch to make the Mac Plus use it.
  14.       It seems that the Mac Plus ROMS were never patched to use KMAP
  15.       resources, which are used by newer Macs to change hardware key
  16.       codes to arbitrary "virtual" key codes.  KbdFix patches the PostEvent
  17.       system trap and translates the key codes there.  (See below for more
  18.       details on the KMAP.) It will install itself when the system is
  19.       started; it is very small.
  20.  
  21. • Mac101 Kbd : A keyboard file containing a KCHR resource and a kcs#
  22.       resource. These should be copied into your system file.  In system 6
  23.       you will have to use ResEdit to do this, and the usual warnings apply.
  24.       In system 7 you should be able to simply drag this file to your System
  25.       file to install it.  This KCHR is based on the new System 7 key
  26.       combinations (certain option key combinations were changed; see
  27.       Inside Macintosh p.14-97).  It makes all of the functions keys and the
  28.       keypad keys in "Window Lock" mode register properly.
  29.       After installing these resources in your System file you can use the
  30.       Keyboard control panel to select the Mac101 keyboard layout.
  31.  
  32. • Mac101 KCAP : This is optional: it is a ResEdit file containing a KCAP
  33.       resource that tells the Key Caps desk accessory exactly how the
  34.       keyboard is layed out.  On my system (System 7) installing it in the
  35.       System file with ID 11 makes it work (this ID is not documented in
  36.       Inside Macintosh, so I make no promises).
  37.  
  38.    More on the KMAP key code translation: The key codes are mapped to
  39. look like the key codes of Apple's Extended Keyboard with the following
  40. exceptions: the arrow keys use the old key codes of the MacPlus keyboard,
  41. and the keypad in Window Lock mode gives the key codes that
  42. MasterStrokes™ uses: in hex these are arranged as
  43.  
  44.         7=$5D  8=$5E  9=$5F
  45.         4=$4F  5=$50  6=$5A
  46.         1=$44  2=$49  3=$4A
  47.              0=$40         .=$66
  48.  
  49.    Please note that these fixes are for the Mac101 keyboard, NOT the
  50. Mac101e that was recently released (and how I wish I had waited...).
  51. The KCAP is certainly wrong for the Mac101e, and I have no idea if the
  52. rest is needed or will work with the new keyboard.
  53.  
  54.    This patch and these resources have been used with Systems 6 and 7
  55. on a Mac Plus with no problems.  I can make no promises about their
  56. working on anyone else's configuration, but here they are, give 'em a whirl!
  57.  
  58.    KbdFix was written using Symantec's THINK C, which I highly commend
  59. and recommend.  This package is free, just drop me a note if you use it
  60. and like it.
  61.  
  62. Steve Costenoble
  63. GEnie: S.COSTENOBLE
  64. BITnet: matsrc@hofstra
  65.